package com.soft.javase.day02.practice.extendsdemo1;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/16
 */
public class Student extends People{
    public void study(){
        System.out.println("有个学生叫"+this.getName()+","+this.getAge()+"岁,正在学习");
    }

    public Student() {
    }

    public Student(String name, int age) {
        super(name, age);
    }
}
